import 'package:flutter_get_x/entrance.dart';
import 'package:flutter_get_x/main.dart';
import 'package:flutter_get_x/page/home/view.dart';
import 'package:flutter_get_x/page/login/view.dart';
import 'package:get/get.dart';

class RouteConfig {
  static final String entrance = "/entrance";
  static final String main = "/main";
  static final String home = "/";
  static final String login = "/login";

  static List<GetPage> getPages() {
    return [
      GetPage(name: entrance, page: () => EntrancePage()),
      GetPage(name: main, page: ()=>MainPage()),
      GetPage(name: home, page: () => HomePage()),
      GetPage(name: login, page: ()=>LoginPage()),
    ];
  }
}
